package edu.sctu.practice.class02.shilaihong.text.text10;

/**
 * Created by admin on 2015/10/15.
 */
public class Addition {
    public void AdditionInt(int a, int b) {
        int sum = a + b;
        System.out.println("sum=" + sum);
    }

    public void AdditionLong(long a, long b) {
        long sum = a + b;
        System.out.println("sum=" + sum);
    }

    public void AdditionFloat(float a, float b) {
        float sum = a + b;
        System.out.println("sum=" + sum);
    }

    public void AdditionDouble(double a, double b) {
        double sum = a + b;
        System.out.println("sum=" + sum);
    }

    public void AdditionString(String a, String b) {
        String sum = a + b;
        System.out.println("sum=" + sum);
    }
}
